Forms FAQs
Frequently asked questions for the Forms guide.
How Can I Handle Form Events on the Server?
To define server-side form events:
- Select a form control (e.g., button or dropdown).
- Open the Property Inspector and go to the Events (Server) tab.
- Choose an event like
OnClick,OnLoad, orOnChange. - Write your backend logic in the associated C# event handler method in the
.csfile of the form.
This is commonly used for database operations, conditional logic, and dynamic data loading.
Can I Use Charts in Forms?
Yes. You can use chart controls in the Form Designer to visually represent data.
- Open your form in the Form Designer.
- From the Toolbox, drag a Chart control onto your form.
- Configure the data binding in the Property Inspector under Data Source.
- Set chart type and styling in the Appearance tab.
Use cases include displaying monthly KPIs, task statuses, or user activity trends.
Can I Add Charts to My Form?
Yes. You can add various chart controls to your form using the Toolbox under the Charts section.
Supported chart types include:
- Bar Chart
- Pie Chart
- Line Chart
After dragging a chart into the form, configure its data binding via the Property Inspector using the DataSource property.
This is useful for dashboards, reports, or analytical